package com.md.album.ui;

import android.os.Bundle;

import androidx.fragment.app.FragmentManager;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.md.album.R;

/**
 * @author liyue
 * des : 处理线上专辑页面，入口是线上专辑中卡片右上角多选图标
 */
@Route(path = "/album/dealonlinealbumaudios")
public class SelectOnlineAlbumAudio extends AbstractSelectAudioActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        currentActivity = this;
        album = getIntent().getParcelableExtra(SELF_ALBUM);
    }

    @Override
    protected int getLayoutRes() {
        return R.layout.activity_selt_audio_to_album;
    }

    @Override
    protected void initFragment() {
        FragmentManager fragmentManager = getSupportFragmentManager();
        audioBatchFragment = (SelectAudioToAlbumFragment) fragmentManager.findFragmentById(R.id.fm_batch_delete);
    }

    @Override
    protected void showMenu() {
        bottom_menu.setMenuShows(true, true, false, false);
    }
}
